package com.lxch.gdwxp.wxpay.porperties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration
@ConfigurationProperties
@PropertySource("classpath:config/qrcode.yml")
public class QRCodeProperties {

    //    公司log地址
    private String LogoPath;
    //是否添加log
    private boolean LogoFlag;
    //log宽度
    private Integer LogWidth;
    //log高度
    private Integer LogHeight;
    //二维码图片大小
    private Integer QRWidth;
    private Integer QRHeight;
    //图片格式
    private String Format;

    public String getFormat() {
        return Format;
    }

    public void setFormat(String fromat) {
        Format = fromat;
    }

    public void setLogoPath(String logoPath) {
        LogoPath = logoPath;
    }

    public void setLogoFlag(boolean logoFlag) {
        LogoFlag = logoFlag;
    }

    public boolean isLogoFlag() {

        return LogoFlag;
    }

    public void setLogWidth(Integer logWidth) {
        LogWidth = logWidth;
    }

    public void setLogHeight(Integer logHeight) {
        LogHeight = logHeight;
    }

    public void setQRWidth(Integer QRWidth) {
        this.QRWidth = QRWidth;
    }

    public void setQRHeight(Integer QRHeight) {
        this.QRHeight = QRHeight;
    }

    public String getLogoPath() {

        return LogoPath;
    }


    public Integer getLogWidth() {
        return LogWidth;
    }

    public Integer getLogHeight() {
        return LogHeight;
    }

    public Integer getQRWidth() {
        return QRWidth;
    }

    public Integer getQRHeight() {
        return QRHeight;
    }
}
